			<div>
				<ul class="breadcrumb">
					<li>
						<a href="<?php echo site_url("menu/survey"); ?>">Quản lý khảo sát</a> / 
						<a href="<?php echo site_url("surveytype"); ?>">Loại khảo sát</a> / 
						<a href="<?php echo site_url("survey/index/" . $st->survey_type_id); ?>"><?php echo $st->survey_type_name ?></a> / 
						<a href="<?php echo site_url("survey/details/" . $survey->survey_id); ?>"><?php echo $survey->survey_name ?></a> / 
						Sửa phiếu khảo sát
					</li>
				</ul>
			</div>
			<div class="row-fluid">
				<div class="box span12">
					<div class="box-header well">
						<h2><i class="icon-pencil"></i> Bước 2: Thiết kế phiếu khảo sát</h2>
						<div class="box-icon">
							<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
						</div>
					</div>
					<div class="box-content">
						<form class="form-horizontal" method="post">
							<fieldset>
								<div class="control-group">
									<label class="control-label" for="dtid">Khung nhập thông tin</label>
									<div class="controls">
										<select data-rel="chosen" class="span10" id="dtid" name="dtid">
											<option></option>
											<?php foreach ($dtlist as $dt) { ?>
											    <option <?php if ($survey->design_template_id == $dt->design_template_id) echo 'selected="true"'; ?> 
													value="<?php echo $dt->design_template_id; ?>" 
													img="<?php echo base_url().$dt->image_link; ?>">
													<?php echo $dt->design_template_name; ?>
												</option>
                                            <?php } ; ?>
										</select>
										<?php echo form_error('dtid'); ?>
                                        <img style="margin-top: 10px;" id="tdimage" />
									</div>
								</div>
								<div class="form-actions">
									<button type="submit" name="submit" value="next" class="btn btn-primary"> Tiếp bước 3</button>
									<a class="btn" href="<?php echo site_url("survey/edit_step1/".$survey->survey_id);?>">Quay lại bước 1</a>
								</div>
							</fieldset>
						</form>
					</div>
				</div><!--/span-->
            </div>
    <!-- Placed at the end of the document so the pages load faster -->
    <!-- Internal Script -->
    <script type="text/javascript">
        $(document).ready(function(){
            //Event of button Edit Stype
            var img = $('#dtid option:selected').attr('img');
            $('#tdimage').attr('src', img);
            $('#dtid').change(function(){
                var img = $('#dtid option:selected').attr('img');
                $('#tdimage').attr('src', img);
            });
        });
    </script>
    <!-- End Internal Script -->